package com.ac.core.util;

import java.io.Serializable;
import java.util.List;

/**
 * <p>Title: </p>
 * <p>Description: </p>
 * <p>Copyright: Copyright JieRuanShiJi 2004</p>
 * <p>Company: JieRuanShiJi</p>
 * @author <a href="mailto:lianzs@tom.com">Lianzs</a>
 * @version 1.0
 */

public interface TreeBean extends Serializable {
    public static final String KEY_ROOT = "root";

    public List getRootChildren();

    public List getChildren(Object parentKey);

    public Object getBean(Object key);

    public TreeNode getRootNode();

    public TreeNode getNode(Object key);
}
